import { Handler } from "./Handler";

class PanTouce extends Handler{
    constructor(opts={}){
        super(opts);
        this.register();
        this.active();
    }
    active(){
        this.alive=true;
    }
    deactive(){
        this.alive=false;
    }
    register(){
        this.on("mousedown",this.start);
        this.on("mousemove",this.update);
        this.on("mouseup",this.end);
    }
    start(event){

    }
    update(event){

    }
    end(event){

    }
}
export {PanTouce}